package com.ruoyi.bantong;

import com.ruoyi.RuoYiApplication;
import com.ruoyi.bantong.service.IBtTaskRedbagService;
import com.ruoyi.bantong.service.IBtTaskService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.client.TestRestTemplate;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @Author laohei
 * @Date 2021/2/25 22:24
 * @Version 1.0
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class Task {

    @Autowired
    private IBtTaskRedbagService service;

    @Autowired
    private IBtTaskService taskservice;

    @Test
    public void testDemo() {
        service.openRedbagPool();
    }

    @Test
    public void testDemo1() {
        taskservice.publishPlacecardPool();
    }
}
